import Vue from 'vue'
import VueRouter from 'vue-router'
// import Login from `@/views/login`'
import Login from '@/views/login'
import Layout from '@/views/layout'

Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    {
      path: '/login', component: Login
    },
    {
      path: '/', component: Layout, children: []
    }
  ]
})
export default router
